package com.huiyun.project.im.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * IM应用组
 * </p>
 *
 * @author bogon
 * @since 2020-07-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ImApp对象", description = "IM应用组")
public class ImApp implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private String id;


    @ApiModelProperty(value = "应用LOGO")
    private String logo;

    @ApiModelProperty(value = "类型 1.web 2.小程序 3.公众号 4.app(android/ios)")
    private Integer type;

    @ApiModelProperty(value = "应用说明")
    private String description;

    @ApiModelProperty(value = "应用名称")
    private String name;

    @ApiModelProperty(value = "配置参数")
    private String params;

    @ApiModelProperty(value = "状态 1.新建 2.审核中(提交审核就变成审核中) 3.审核通过 4.审核失败 5.删除 6.系统禁用")
    private Integer status;

    @ApiModelProperty(value = "所属应用组(同组用户共享)")
    private String appGroupId;

    @ApiModelProperty(value = "应用ID")
    private String appKey;

    @ApiModelProperty(value = "应用secret(一般随机AES算法)")
    private String appSecret;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date modifyTime;


}
